package com.zhuang.visitor.double_dispatch;

/**
 * @Classname Dog
 * @Description 双分派
 * @Date 2021/3/27 17:12
 * @Created by dell
 */

public class Dog extends Animal{
    @Override
    public void accept(Execute execute) {
        execute.execute(this);
    }
}
